<!DOCTYPE html>
<html>
	<head>
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
		<script src="/experimental/aop/src/aop.js" type="text/javascript"></script>
		<script src="/static/scripts/jq-plugins/jquery.postmessage.js" type="text/javascript"></script>
		<script src="jquery.wormhole.js" type="text/javascript"></script>
		<script src="sharedapi.js" type="text/javascript"></script>
	</head>
	<body>
		<script type="text/javascript">
		$.wormhole.ready(function() {
			$.wormhole({ ns: 'API', method: 'test' });
			//API.test();
			
			$w('#thingy').click(function() {
				alert('clickT');
			});
			
			function clickIt() {
				return function() {
					$w('#thingy').click();
				}
			}
			
			setTimeout(clickIt(), 1000);
		});
		</script>
		
	</body>
</html>